import request from "@/utils/request";

export default {
  //分页查询讲师的信息
  getTeacherListPage(current, limit) {
    return request({
      url: `/eduservice/teacherfront/getTeacherFront/${current}/${limit}`,
      method: "post",
    });
  },
  //查询讲师的详细信息
  getTeacherInfo(teacherId) {
    return request({
      url: `/eduservice/teacherfront/getTeacherById/${teacherId}`,
      method: "get",
    });
  }
};
